const axios = require('axios');

// axios.post('http://localhost:2000/api-v1/wms/login', {
//     params: {
//         password: "Monday01",
//         sys: "MES",
//         username: "magic"
//     }
// }).then(res => {
//     console.log(res.data)
// })



axios.request({
    data:{username: 'magic', password: 'Monday01', sys: 'MES'},
    method:"POST",
    url:"http://localhost:2000/api-v1/wms/login"
}).then(res => {
         console.log(res.data)
    })